import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import api from "@/api/index";
import i18n from "../lang/index";
//全局导入echarts
import * as echarts from "echarts"
// console.log(echarts);
import "./plugins/element.js";
import "./assets/css/reset.css";
import "./router/permission";
import "./utils/localStorage";

Vue.prototype.$api = api;
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false;


new Vue({
  router,
  store,
  i18n,
  render: function (h) {
    return h(App);
  },
}).$mount("#app");
